#pragma once
#include "LookAtCamera.h"
#include "PickingRay.h"

class MyPicking
{
private:
	Vector3 position, view;
	Vector3 screenHoritzontally, screenVertically;
	LookAtCamera *cam;
	void update();
	float _viewportWidth, _viewportHeight;
public:
	MyPicking(float viewportWidth, float viewportHeight);
	void picking(float screenX, float screenY, LookAtCamera *cam);

	PickingRay* _pickingRay;
};